OTP\Helper\SessionUtils A

Total Complexity 54
Dependencies 6
Dependents 58
Total lines 284
Lines of code 171
Logical lines of code 102
Comment lines 103
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
get_transaction_id()
S
58 7 15
is_status_match()
S
58 6 15
add_status()
S
59 5 15
add_email_or_phone_verified()
S
65 3 10
is_otp_initialized()
S
69 2 7
add_user_in_session()
S
68 2 7
get_form_or_field_id()
S
69 2 7
set_form_or_field_id()
S
68 2 7
is_email_submitted_and_verified_match()
S
68 2 7
is_phone_submitted_and_verified_match()
S
68 2 7
unset_session()
S
74 2 5
set_email_transaction_id()
S
67 2 8
set_phone_transaction_id()
S
67 2 8
is_phone_verified_match()
S
68 2 7
is_email_verified_match()
S
68 2 7
add_phone_verified()
S
68 2 7
add_email_verified()
S
68 2 7
add_phone_submitted()
S
68 2 7
add_email_submitted()
S
68 2 7
get_user_submitted()
S
69 2 7
initialize_form()
S
75 1 4